[OPENMP]Fix PR49468: Declare target should allow empty sequences and namespaces.

The emty declare target/end declare target region should not cause an
error emission.

Differential Revision: https://reviews.llvm.org/D99288

GitOrigin-RevId: 9e9f6eba84f01785ef154539878a7ebd2692344a
2 files changed