DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Acceleration