`IsDMABufEnabled()` will call `Configure()` from which we will possibly call into the driver code in `nsGbmLib::CreateDevice()`.
In order to prevent from calling the driver code in RDD process which has been sandboxed, we should reorder those checks.
Differential Revision: https://phabricator.services.mozilla.com/D107086