Update ExtensionMethods.cs

Made GetSafeComponent extensions use class 'Component' instead of MonoBehaviour