Remove register keyword: it's deprecated in C++11.
Fixes https://svn.boost.org/trac/boost/ticket/9639.