Remove dialyzer warnings fixed by core change

This is fixed in basho/riak_core#577
Merge pull request #920 from basho/bugfix/920-remove-dialyzer-ignores

riak_core_security:check_permission/2 usage

Reviewed-by: Vagabond