The role of magma injection in localizing black-smoker activity