WELD-1751 Weld proxies fail access control checks when a SecurityManager...

... is present
This method does not look to be a cheap operation. Although this is done only once per method per class, my worry is that it could still harm bootstrap performance. I am going to add System.getSecurityManager() check here