Optimized type checking in GibraltarEventProvider

ProcessEvent was using an is and an as to check the type of raised event. Switched this to use as and a null check to improve performance.