Fixed a crash in iOS 8 Beta 5

Hey

I just quickly did a fix for this (entirely through github) to solve an issue similar to [this](https://github.com/CooperRS/RMDateSelectionViewController/issues/30#issuecomment-51195206).

Tested this locally and it's all working fine again :+1: