Fix tvOS build issues with UIDeviceOrientation
Fix tvOS build issues with UIDeviceOrientation

Summary: Closes https://github.com/facebook/react-native/pull/15212

Differential Revision: D5498553

Pulled By: javache

fbshipit-source-id: 7276d836bd544d8a83b9e1711ea66044de9e9269

pandiaraj44/react-native,janicduplessis/react-native,exponentjs/react-native,Bhullnatik/react-native,kesha-antonov/react-native,rickbeerendonk/react-native,rickbeerendonk/react-native,kesha-antonov/react-native,dikaiosune/react-native,kesha-antonov/react-native,frantic/react-native,javache/react-native,exponentjs/react-native,farazs/react-native,hoangpham95/react-native,hammerandchisel/react-native,pandiaraj44/react-native,ptmt/react-native-macos,exponentjs/react-native,exponentjs/react-native,facebook/react-native,myntra/react-native,cdlewis/react-native,cdlewis/react-native,jevakallio/react-native,ptmt/react-native-macos,facebook/react-native,exponentjs/react-native,hammerandchisel/react-native,janicduplessis/react-native,makadaw/react-native,ptmt/react-native-macos,hoastoolshop/react-native,janicduplessis/react-native,makadaw/react-native,rickbeerendonk/react-native,ptmt/react-native-macos,pandiaraj44/react-native,janicduplessis/react-native,hammerandchisel/react-native,myntra/react-native,exponent/react-native,jevakallio/react-native,javache/react-native,myntra/react-native,hoangpham95/react-native,jevakallio/react-native,dikaiosune/react-native,makadaw/react-native,Bhullnatik/react-native,farazs/react-native,jevakallio/react-native,formatlos/react-native,negativetwelve/react-native,negativetwelve/react-native,facebook/react-native,janicduplessis/react-native,exponentjs/react-native,farazs/react-native,myntra/react-native,farazs/react-native,frantic/react-native,negativetwelve/react-native,pandiaraj44/react-native,kesha-antonov/react-native,formatlos/react-native,cdlewis/react-native,hoastoolshop/react-native,makadaw/react-native,farazs/react-native,makadaw/react-native,jevakallio/react-native,janicduplessis/react-native,ptmt/react-native-macos,exponent/react-native,frantic/react-native,rickbeerendonk/react-native,dikaiosune/react-native,cdlewis/react-native,hoastoolshop/react-native,dikaiosune/react-native,exponent/react-native,arthuralee/react-native,javache/react-native,rickbeerendonk/react-native,dikaiosune/react-native,exponent/react-native,negativetwelve/react-native,exponentjs/react-native,myntra/react-native,formatlos/react-native,hoastoolshop/react-native,pandiaraj44/react-native,makadaw/react-native,javache/react-native,javache/react-native,hoangpham95/react-native,makadaw/react-native,exponentjs/react-native,frantic/react-native,dikaiosune/react-native,kesha-antonov/react-native,Bhullnatik/react-native,facebook/react-native,arthuralee/react-native,jevakallio/react-native,myntra/react-native,exponent/react-native,hoastoolshop/react-native,jevakallio/react-native,negativetwelve/react-native,exponent/react-native,facebook/react-native,kesha-antonov/react-native,jevakallio/react-native,cdlewis/react-native,exponent/react-native,rickbeerendonk/react-native,pandiaraj44/react-native,formatlos/react-native,hoangpham95/react-native,rickbeerendonk/react-native,formatlos/react-native,pandiaraj44/react-native,frantic/react-native,cdlewis/react-native,hammerandchisel/react-native,kesha-antonov/react-native,kesha-antonov/react-native,facebook/react-native,makadaw/react-native,cdlewis/react-native,cdlewis/react-native,myntra/react-native,hammerandchisel/react-native,formatlos/react-native,ptmt/react-native-macos,makadaw/react-native,exponent/react-native,negativetwelve/react-native,Bhullnatik/react-native,hoastoolshop/react-native,cdlewis/react-native,negativetwelve/react-native,pandiaraj44/react-native,formatlos/react-native,farazs/react-native,dikaiosune/react-native,facebook/react-native,formatlos/react-native,Bhullnatik/react-native,farazs/react-native,hammerandchisel/react-native,Bhullnatik/react-native,ptmt/react-native-macos,hoangpham95/react-native,hoastoolshop/react-native,hoastoolshop/react-native,arthuralee/react-native,rickbeerendonk/react-native,dikaiosune/react-native,farazs/react-native,Bhullnatik/react-native,farazs/react-native,javache/react-native,facebook/react-native,formatlos/react-native,facebook/react-native,rickbeerendonk/react-native,myntra/react-native,janicduplessis/react-native,negativetwelve/react-native,kesha-antonov/react-native,janicduplessis/react-native,arthuralee/react-native,hammerandchisel/react-native,jevakallio/react-native,javache/react-native,hoangpham95/react-native,hoangpham95/react-native,myntra/react-native,javache/react-native,hammerandchisel/react-native,javache/react-native,arthuralee/react-native,hoangpham95/react-native,Bhullnatik/react-native,negativetwelve/react-native,ptmt/react-native-macos