smack: remove access helper functions

Since all access checking logic related to layers, groups, and keys now
exists in direct.c, the helper functions are no longer needed.