[Form] Add entity manager instance support for em option

This PR documents symfony/symfony#12251
Fixed