Safe returning nil on randomObject on NSArray category

Implemented the same way it's implemented on firstObject.