Check for RLIMIT_CORE before collecting data for coredump. If the current limit is 0, then we can return early without spending time collecting coredump data. [ROCm/ROCR-Runtime commit: d031af9eb5]
d031af9eb5