more netbsd 6 fixes for *at functions