Towards a constrained local moment model for first principles spin dynamics