minor: Fixed deprecation warning in platform check

Under chef 10.24, using "platform?" caused a warning of "Setting attributes without specifying a precedence". This seems related to the bug http://tickets.opscode.com/browse/COOK-1929