Align some structures to cacheline

Align strucutres with pthread mutex locks to start on cachelines to keep
the lock within one cacheline.