Fix #10932. Treat "" and "::" as invalid on constantize
Merge pull request #10943 from killthekitten/10932_constantize_empty

Fix #10932. Treat "" and "::" as invalid on constantize