Add support for get and setgid for 32 bits