Remove register storage specifier

Remove register storage specifier to silence clang warnings "'register' storage class specifier is deprecated".