Fix generate_mozbuild to handle non-d3d11 and non-SDK-DX builds

Change-Id: If5a8bf92100433a47d33ba53977a5d37afce4b21